package com.wanmait.schedule.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.schedule.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色权限表 服务类
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
public interface RolePermissionService extends IService<RolePermission> {

    PageInfo<Role> list(RolePermission rolePermission, Integer pageNum);

    List<Permission> listByRoleId(Integer id);

    void update(Integer id,Integer[] ids);
}
